package com.njit.springboot.dao;

import com.njit.springboot.bean.RoncooUserLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface RoncooUserLogDao extends JpaRepository<RoncooUserLog, Integer> {
    RoncooUserLog findByUserName(String username);

    Page<RoncooUserLog> findByUserName(String userName, Pageable pageable);
}